package com.southminority.ethnic.pojo;

import com.southminority.ethnic.column.ExcelColumn;
import lombok.Data;

@Data
public class TestExcelPojo {
    @ExcelColumn(name = "用户名", columnWidth = 10, color = "BLUE",value = "张三")
    private String name;
    @ExcelColumn(name = "年龄", columnWidth = 10, nonNull = true,value = "18")
    private String age;
    @ExcelColumn(name = "性别", columnWidth = 10,hidden = true,value = "男")
    private String sex;
    @ExcelColumn(name = "手机号",columnWidth = 20, value = "18888888888")
    private String phone;
}
